﻿<html>
<head>
    <title>aa</title>
    <style type="text/css">
        @page
        {
            @top-left
            {
                content: "TOP SECRET";
                color: red;
            }

            @bottom-right
            {
                content: counter(page);
                font-style: italic;
            }
        }
    </style>
</head>
<body>
    <div class="footer">Page: <span class="pagenum"></span></div>
    <p>lorem ipsum ...</p>
    <p>lorem ipsum ...</p>
</body>
</html>
